<?php
defined('IN_PHPCMS') or exit('No permission resources.');

function check_submenu($parentid) {
	$experience_type_db = pc_base::load_model('experience_type_model');//加载履历类型模型
	if (isset($parentid)) {
		$result = $experience_type_db->get_one(array('parent_id'=>$parentid));
		if ($result) {
			return true;
		} else {
			return false;
		}
	}
}